<?php

namespace app\common\validate;

use think\Validate;

class AgentOrder extends Validate
{
	protected $rule = [
		"num" => "require",
		"goods_sku_id" => "require",

	];

	protected $message = [
		"num.require" => "请输入购买数量",
		"goods_sku_id.require" => "请选择商品",
	];
	protected $scene = [
		'add' => ['goods_sku_id'],
	];
}
